<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>后台配置页</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" href="../../js/layui/css/layui.css" media="all" />
    <link rel="stylesheet" href="../../css/public.css" media="all" />
</head>
<body class="childrenBody">
    <i>数据库初始化配置</i>
    <hr class="layui-bg-red">
    <form class="layui-form" id="user-form">
        <input type="hidden" qs-name="id" class="id">
        <div class="layui-form-item">
            <label class="layui-form-label">数据库类型</label>
            <div class="layui-input-block">
               <!-- <input type="text" required lay-verify="required" placeholder="请选择数据库类型" maxlength="20"
                       autocomplete="off" qs-name="userName" class="layui-input dbType">-->
                <select qs-name="dbType" lay-verify="required" class="dbType">
                    <option value="">请选择数据库类型</option>
                    <option value="Oracle" disabled>Oracle</option>
                    <option value="MySQL">MySQL</option>
                    <option value="SQLServer" disabled>SQLServer</option>
                </select>
            </div>
        </div>
        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label">数据库地址</label>
            <div class="layui-input-block">
                <input type="text" required lay-verify="required" placeholder="请输入数据库地址" maxlength="200"
                       autocomplete="off" qs-name="dbAddress" class="layui-input dbAddress">
            </div>
        </div>
        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label">端口（SID）</label>
            <div class="layui-input-block">
                <input type="text" required lay-verify="required" placeholder="请输入端口号或者SID" maxlength="50"
                       autocomplete="off" qs-name="port" class="layui-input port">
            </div>
        </div>
        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label">用户名</label>
            <div class="layui-input-block">
                <input type="text" lay-verify="required" autocomplete="off" qs-name="userName" placeholder="请输入用户名" maxlength="50"
                       class="layui-input userName">
            </div>
        </div>
        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label">密码</label>
            <div class="layui-input-block">
                <input type="password" lay-verify="required" autocomplete="off" qs-name="password" placeholder="请输入密码" maxlength="100"
                       class="layui-input password">
            </div>
        </div>
        <div class="qs-btnDiv">
            <a class="layui-btn layui-btn-sm" lay-filter="configForm" lay-submit class="layui-btn"><i class="layui-icon">&#xe609;</i>提交</a>
        </div>
    </form>
    <script type="text/javascript" src="../../js/layui/layui.js"></script>
    <script type="text/javascript" src="../../js/public.js"></script>
    <script type="text/javascript" src="../../pages/setup/config.js"></script>
</body>
</html>